import React, { Component } from 'react'

export class tou extends Component {
  render() {
      const {list,i}=this.props
    return (
        <ul className='tou'>
        { list.length  ?list[i].child.map((item,index)=>{
          return <li key={index}> <span> <img src={item.tu} /> </span> <b>{item.title}</b> </li>
        }) :'暂无数据'

        }
       </ul>
    )
  }
}

export default tou